package com.maysham.tripod.service;

import com.maysham.tripod.build.docker.BuildImageRequest;
import com.maysham.tripod.dto.DockerImage;

import java.io.File;
import java.util.List;

public interface DockerService {

    String PATH_LIST_IMAGES = "/images/json";
    String PATH_BUILD_IMAGE = "/build";

    List<DockerImage> listImage(String host);

    void buildImage(String host, File tarFile, BuildImageRequest request);
}
